The pied piper came to town and said he could kill all the rats. It would cost one hundred gold coins. The town's people agreed to pay.